<!--[pnajaxheader modname="crpCalendar" nobehaviour=true lightbox=true]-->
<!--[include file="crpcalendar_user_menu.htm"]-->

<div class="crpcalendar_container">
  
<div class="vevent">

	<h2><span class="summary"><!--[$event.title|pnvarprephtmldisplay]--></span></h2>
	
	<h3>
		<!--[if $event.__CATEGORIES__.Main.__ATTRIBUTES__.Color]-->
		<span  style="background-color:<!--[$event.__CATEGORIES__.Main.__ATTRIBUTES__.Color]-->">&nbsp;&nbsp;&nbsp;</span>
		<!--[/if]-->
		<span class="category"><!--[$event.__CATEGORIES__.Main.display_name.$lang]--></span>
	</h3>
	
	<div class="crpcalendar_header">
		<!--[pnusergetvar name=uname uid=$event.cr_uid assign=cr_uname]-->
		<!--[pnmodurl modname=Profile func=view uname=$cr_uname assign=cr_profilelink]-->
		<!--[pnml name=_CRPCALENDAR_CREATEDON html=1]--> <abbr class="dtstamp" title="<!--[$event.cr_date|date_format:"%Y%m%dT%H%MZ"]-->"><!--[$event.cr_date|date_format]--></abbr>
		<!--[pnml name=_BY]--> <span class="uid"><a href="<!--[$cr_profilelink]-->"><!--[$cr_uname]--></a></span>
	</div>
	
	<div class="crpcalendar_body">
		<a class="crpcalendar-rss" href="<!--[$event.exports.url|pnvarprepfordisplay]-->"><!--[pnimg modname=crpCalendar src=$event.exports.image alt=$event.exports.title]--></a>
		<!--[assign var="options" value=$event.options]-->
		<!--[section name=options loop=$options]-->
			<a class="crpcalendar-rss" href="<!--[$options[options].url|pnvarprepfordisplay]-->"><!--[pnimg modname=core set=icons/extrasmall src=$options[options].image alt=$options[options].title]--></a>
		<!--[/section]-->
		
		<!--[if $event.image]-->
		<div>
			<a href="<!--[pnmodurl modname="crpCalendar" type="user" func="get_image" eventid=$event.eventid]-->" title="<!--[$event.title]-->" rel="lightbox">
			<!--[if $crpcalendar_use_gd eq '1']-->
			<img src="<!--[pnmodurl modname="crpCalendar" type="user" func="get_thumbnail" eventid=$event.eventid]-->" alt="<!--[$event.title]-->" title="<!--[$event.title]-->"/>
			<!--[else]-->
			<img src="<!--[pnmodurl modname="crpCalendar" type="user" func="get_image" eventid=$event.eventid]-->" alt="<!--[$event.title]-->" title="<!--[$event.title]-->" width="<!--[$image_width]-->px"/>
			<!--[/if]-->
			</a>
		</div>
		<!--[/if]-->
		
		<!--[if !$event.day_event]-->
		<div><strong><!--[pnml name="_CRPCALENDAR_START_DATE" html=1]--></strong>: <abbr class="dtstart" title="<!--[$event.start_date|pndate_format:"%Y%m%dT%H%MZ"]-->"><!--[$event.start_date|pndate_format:"%d/%m/%Y - %H:%M"]--></abbr></div>
	  	<div><strong><!--[pnml name="_CRPCALENDAR_END_DATE" html=1]--></strong>: <abbr class="dtend" title="<!--[$event.end_date|pndate_format:"%Y%m%dT%H%MZ"]-->"><!--[$event.end_date|pndate_format:"%d/%m/%Y - %H:%M"]--></abbr></div>
		<!--[else]-->
		<div><strong><!--[pnml name="_CRPCALENDAR_START_DATE" html=1]--></strong>: <abbr class="dtstart" title="<!--[$event.start_date|pndate_format:"%Y%m%d"]-->"><!--[$event.start_date|pndate_format:"%d/%m/%Y"]--></abbr></div>
	  	<div class="pn-hide"><strong><!--[pnml name="_CRPCALENDAR_END_DATE" html=1]--></strong>: <abbr class="dtend" title="<!--[$event.end_date|pndate_format:"%Y%m%d"]-->"><!--[$event.end_date|pndate_format:"%d/%m/%Y"]--></abbr></div>
		<!--[/if]-->
		
		<!--[if $event.location]-->
		<div>
			<strong><!--[pnml name="_CRPCALENDAR_LOCATION" html=1]--></strong>:
			<!--[if $enable_locations && pnModAvailable('locations') && is_numeric($event.location.locationid)]-->
			<!--[include file="locations/crpcalendar_user_location_card.htm"]-->
			<!--[else]-->
			<span class="location"><!--[$event.location]--></span>
			<!--[/if]-->
		</div>
		<!--[/if]-->
		<!--[if $event.organiser]-->
		<div><strong><!--[pnml name="_CRPCALENDAR_ORGANISER" html=1]--></strong>: <span class="organiser"><!--[$event.organiser]--></span></div>
		<!--[/if]-->
		<!--[if $event.contact]-->
		<div><strong><!--[pnml name="_CRPCALENDAR_CONTACT" html=1]--></strong>: <span class="contact"><!--[$event.contact|replace:"@":"[at]"]--></span></div>
		<!--[/if]-->
		<!--[if $event.url]-->
		<div><strong><!--[pnml name="_CRPCALENDAR_URL" html=1]--></strong>: <span class="url"><!--[$event.url|activatelinks]--></span></div>
		<!--[/if]-->
		<br />
		<div class="description"><!--[$event.event_text|nl2paragraphs|pnvarprephtmldisplay]--></div>
		<!--[if $event.document]-->
		<div>
			<a href="<!--[pnmodurl modname="crpCalendar" type="user" func="get_file" eventid=$event.eventid]-->" title="<!--[$event.title]-->">
				<!--[pnimg modname=core set=icons/extrasmall src="attach.gif" altml=true titleml=true alt=$event.title title=$event.title]-->
				<!--[$event.document.name]-->
			</a>
		</div>
		<!--[/if]-->
	</div>
	
</div>

<!--[if $enable_partecipation]-->
<div>
	<h3><!--[pnml name=_CRPCALENDAR_PARTECIPATIONS html=1]--> <!--[pnml name=_BY html=1]--> <!--[pnml name=_MEMBERS html=1]--></h3>
	<!--[assign var="partecipations" value=$event.partecipations]-->
	<!--[if empty($partecipations)]--><!--[pnml name=_CRPCALENDAR_NONE html=1]--><!--[/if]-->
	<ul id="event_partecipation">	
	<!--[section name=partecipations loop=$partecipations]-->
		<!--[pnmodurl modname=Profile func=view uid=$partecipations[partecipations].uid assign=partecipation_profilelink]-->
		<li>
			<a href="<!--[$partecipation_profilelink]-->"><!--[pnusergetvar name=uname uid=$partecipations[partecipations].uid]--></a>
			- <a href="<!--[pnmodurl modname=crpCalendar func=get_partecipations uid=$partecipations[partecipations].uid]-->"><!--[pnml name=_CRPCALENDAR_USER_PARTECIPATIONS html=1]--></a>
		</li>
	<!--[/section]-->
	</ul>	
</div>
<!--[/if]-->

<div class="crpcalendar_footer">
	<!--[pnml name=_CRPCALENDAR_WORDSINTHISTEXT html=1]--> <!--[$event.event_text|count_words]--> - <!--[pnml name=_CRPCALENDAR_READS html=1]--> <!--[$event.counter]--> -
	<span>
	<a href="<!--[pnmodurl modname=crpCalendar func=display eventid=$event.eventid theme=printer]-->"><!--[pnimg modname=core src=printer1.gif set=icons/small alt='_PAGES_PRINT' altml=true style="vertical-align:middle"]--></a>
	</span>
</div>

<!--[pnmodurl modname=crpCalendar func=display eventid=$event.eventid assign=returnurl]-->
<!--[pnmodcallhooks hookobject=item hookaction=display hookid=$event.eventid module=crpCalendar returnurl=$returnurl]-->
</div>